﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="得利库克采购管理系统">
<meta http-equiv="description" content="得利库克采购管理系统">
<style type="text/css">
#tittle {
	left: 40px;
	position: absolute;
	bottom: 5px;
	font-size: 15px;
	font-weight: bold;
	color: #00008B;
}

#logout {
	right: 40px;
	position: absolute;
	bottom: 5px;
	font-size: 12px;
	font-weight: bold;
	color: #00008B;
}

#logout a .{
	color: #FF9A00;
	text-decoration: none;
}

#logout a:link {
	color: #FF9A00;
	text-decoration: none;
}

#logout a:visited {
	color: #FF9A00;
	text-decoration: none;
}

#logout a:hover {
	color: #cc0000;
	text-decoration: underline;
}

#logout a:actived {
	color: #FF9A00;
	text-decoration: none;
}

#logout a {
	text-decoration: none;
}
</style>
<title>得利库克管理系统</title>
<script type="text/javascript">
	$(document).ready(function() {
	});

	function changepassword(id) {
		//window.showModalDialog("changepassword.jsp?userid="+id,{windowO:window},'dialogHeight:140px;,dialogWidth:350px');
		window.open(
				"<c:url value='/jsp/openIndexSun.jsp?url=/user/preChangePassword.do'/>"
						+ "?userId=" + id, "sun",
				"width=1200px,height=600px,status=no,scrollbars=yes");

	}
</script>
</head>
<body style="margin: 0px">
	<div id="header">
		<div id="logo">
			<table background="" width="110" height="10">
				<tr>
					<td>&nbsp;</td>
				</tr>
			</table>

		</div>
	</div>
	<div id="tittle">得利库克管理系统</div>

	<div id="logout" style="font-size: 12px;">
	    <a style="text-decoration: none;" href="#" onclick="window.location.href = '<c:url value="/jsp/ui/Home.jsp"/>';">&nbsp;&nbsp;&nbsp;&nbsp;主页
        </a>
		&nbsp;&nbsp;&nbsp;&nbsp;登陆用户id：
		<c:out value="${sessionScope.user.userName}" />
		&nbsp;&nbsp;&nbsp;&nbsp;登陆用户名：
		<c:out value="${sessionScope.user.realName}" />
		<a style="text-decoration: none;" href="#" onclick="javascript:changepassword('${sessionScope.user.userId}');">&nbsp;&nbsp;&nbsp;&nbsp;更改密码
		</a>
		<a style="text-decoration: none;" href="<c:url value="/jsp/logout.jsp"/>" target='_top'>&nbsp;&nbsp;&nbsp;&nbsp;安全退出</a>
	</div>
</body>
</html>